<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<script src="../../js/jquery-3.6.0.min.js"></script>
<html>
<head>
    <title>Title</title>
</head>
<body>
    类型
    <input type="text" id="type">
    年份
    <input type="text" id="year" value="">
    关键词
    <input type="text" id="keyword">
    <input type="submit" id="submit">
<script>
    $("#submit").click(
        function(){
          $(location).attr("href","${pageContext.request.contextPath}/movie3/"+$("type").val()+"/"+$("year").val()+"/"+$("keyword").val());
        }
    );
</script>
</body>
</html>
